/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package composants;
/**
 *
 * @author Valentin
 */
public class Voyant {
    
boolean vert;
boolean orange;
boolean rouge;

    public Voyant() {
        vert=false;
        orange=false;
        rouge=false;
    }
    
    
    public void afficher(boolean un, boolean deux, boolean trois)
    {
        rouge=un;
        orange=deux;
        vert=trois;
    }
    



    
}
